package org.example.reactor;

import reactor.core.publisher.Flux;

public class FluxExample {
    public static void main(String[] args) {
        Flux.just("hello", "world")
                .map(item -> {
                    String item2 = item.toUpperCase();
                    return item2;
                })
//                .subscribe();
                .subscribe(System.out::println);
    }
}
